[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
min() Macro to Find Minimum of Two Integers
#include <stdlib.h>
The min() macro expands to inline code to find the minimum of two
integers.
-------------------------------- Example ---------------------------------
This example finds the minimum of i and j.
#include <stdlib.h>
int i = 2, j = 5, k;
main()
{
k = min(i, j);
}
See Also:
max()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson